<template>
  <div>
    <span>my-event</span>
    <button @click="docall">PleaseCheck</button>
  </div>
</template>
<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
  name: "my-event",
  emits:['do-event'],
  setup(props,context) {
    const docall = () => {
      context.emit("do-event","wanglili",1,2)
    };
    return {
      docall,
    };
  },
});
</script>
<style lang="scss" scoped></style>
